//
//  LoginTypeView.h
//  us
//
//  Created by karry on 2025/3/29.
//

#import <UIKit/UIKit.h>

NS_ASSUME_NONNULL_BEGIN
@class LoginTypeView;
@protocol LoginTypeViewDelegate <NSObject>
@optional
- (void)loginTypeViewDidTapPrivacy:(LoginTypeView *)view;
- (void)loginTypeViewDidTapTerms:(LoginTypeView *)view;

- (void)loginWithWechat;
- (void)loginWithApple;
- (void)loginWithQQ;

@end

@interface LoginTypeView : UIView<UITextViewDelegate>

@property (nonatomic, weak) id<LoginTypeViewDelegate> delegate;

@property (weak, nonatomic) IBOutlet UIButton *btn0;
@property (weak, nonatomic) IBOutlet UIButton *btn1;
@property (weak, nonatomic) IBOutlet UIButton *btn2;

@property (weak, nonatomic) IBOutlet UITextView *privacyTextView;

@property (nonatomic,copy) void(^didClickPrivacyAgreementBlock)(void);

@property (nonatomic,copy) void(^didClickUserAgreementBlock)(void);


@end

NS_ASSUME_NONNULL_END
